package com.xiaoma.seres.lib.log

import android.content.Context

/**
 * author: liangjingbo
 * date: 2022/6/17
 * describe:
 */
interface ILog {

    fun init(context: Context, uid: String)

    fun setShowLog(showLog: Boolean)

    fun isShowLog(): Boolean

    fun setLowLevelLogPrintEnable(lowLevelLogPrintEnable: Boolean)

    fun isLowLevelLogPrintEnable(): Boolean

    fun v(tag: String, msg: String)

    fun v(tag: String, msg: String, tr: Throwable?)

    fun d(tag: String, msg: String)

    fun d(tag: String, msg: String, tr: Throwable?)

    fun i(tag: String, msg: String)

    fun i(tag: String, msg: String, tr: Throwable?)

    fun w(tag: String, msg: String)

    fun w(tag: String, msg: String, tr: Throwable?)

    fun e(tag: String, msg: String)

    fun e(tag: String, msg: String, tr: Throwable?)
}